this error appeared when upgrating 12.04 LTS to 12.10 [closed]

Posted by habcity on Ask Ubuntu See other posts from Ask Ubuntu or by habcity
Published on 2012-11-02T09:57:24Z Indexed on 2012/11/02 11:17 UTC
Read the original article Hit count: 247

Filed under:

Possible Duplicate:
How do I fix a “Problem with MergeList” error when trying to do an update?

ryder@ryder-Q1500M:~$ do-release-upgrade Checking for a new Ubuntu release Get:1 Upgrade tool signature [198 B]
Get:2 Upgrade tool [1,200 kB]
Fetched 1,200 kB in 6s (6,988 B/s)
authenticate 'quantal.tar.gz' against 'quantal.tar.gz.gpg' extracting 'quantal.tar.gz' [sudo] password for ryder:

Reading cache

A fatal error occurred

Please report this as a bug and include the files /var/log/dist-upgrade/main.log and /var/log/dist-upgrade/apt.log in your report. The upgrade has aborted. Your original sources.list was saved in /etc/apt/sources.list.distUpgrade.

Traceback (most recent call last):

File "/tmp/update-manager-63XThv/quantal", line 10, in sys.exit(main())

File "/tmp/update-manager-63XThv/DistUpgrade/DistUpgradeMain.py", line 237, in main save_system_state(logdir)

File "/tmp/update-manager-63XThv/DistUpgrade/DistUpgradeMain.py", line 130, in save_system_state scrub_sources=True)

File "/tmp/update-manager-63XThv/DistUpgrade/apt_clone.py", line 146, in save_state self._write_state_installed_pkgs(sourcedir, tar)

File "/tmp/update-manager-63XThv/DistUpgrade/apt_clone.py", line 173, in _write_state_installed_pkgs cache = self._cache_cls(rootdir=sourcedir)

File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 102, in init self.open(progress)

File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 145, in open self._cache = apt_pkg.Cache(progress)

SystemError: E:Encountered a section with no Package: header, E:Problem with MergeList /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_precise-backports_multiverse_i18n_Translation-en, E:The package lists or status file could not be parsed or opened.

© Ask Ubuntu or respective owner

Related posts about command-line